home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
lzw4c12.zip
/
LZW4C.H
< prev
next >
Wrap
Text File
|
1992-11-08
|
460b
|
25 lines
/* Prototypes for LZW4C */
#ifndef FILE
#include <stdio.h>
#endif
#if 1
int InitLZW(char *(*Alloc)() );
int TermLZW(int (*Free)() );
int Compress(int (*Reader)(), int (*Writer)());
int Expand(int (*Reader)(), int (*Writer)());
#else
int InitLZW();
int TermLZW();
int Compress();
int Expand();
#endif
/* error codes */
#define EXPANSION_ERROR -1
#define CANNOT_ALLOCATE -2
#define INTERNAL_ERROR -3
#define NOT_INITIALIZED -4